﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CDStore3Tiers;

namespace CuaHangDiaNhac
{
	public partial class frmInDiaNhac : Form
	{
		StoreCDDataContext db;
		public frmInDiaNhac()
		{
			InitializeComponent();
			db = new StoreCDDataContext();
			db.Connection.ConnectionString = getConfig.getConnection();
		}

		private void frmInDiaNhac_Load(object sender, EventArgs e)
		{
			db = new StoreCDDataContext();
			db.Connection.ConnectionString = getConfig.getConnection();
			vw_DiaNewBindingSource.DataSource = db.vw_DiaNew_DelectAll();
			this.reportViewer1.RefreshReport();
		}
	}
}
